package com.wanbangee.marksystem.service.score;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.wanbangee.marksystem.entities.MAnswerSheetRecord;



/**
 * 特殊卷处理  feign接口
 * 特殊卷
 * 		- 问题卷：1
 * 		- 优秀卷：2
 * 		- 典型错误卷：3
 * 		- 已处理问题卷：4
 * 其他卷
 * 		- 正常卷：0
 * @author 小粥愚
 *
 */
@FeignClient(value="kaoJinBang-examination-setting-provider")
public interface SpecialTestService {

	/**
	 * 查询出指定特殊卷信息，用于插入答题记录表
	 * @param examId
	 * @param examSubId
	 * @param markerId
	 * @param scoreId
	 * @return
	 */
	@GetMapping("/exam-score/setting/specialTestInfo")
	public MAnswerSheetRecord specialTestInfo(@RequestParam("examId")Integer examId,@RequestParam("examSubId")Integer examSubId,@RequestParam("markerId")Integer markerId,@RequestParam("scoreId")Integer scoreId,@RequestParam("addUserId")Integer addUserId,@RequestParam("addNm")String addNm);

	
	/**
	 * 新增新的特殊卷
	 * @param sheet 特殊卷
	 * @param recordId 记录类型 
	 * @return
	 */
	@GetMapping("/exam-score/setting/addSpecialTest")
	public Boolean addSpecialTest(@RequestParam("sheet")MAnswerSheetRecord sheet,@RequestParam("recordId")Long recordId);
}
